package edu.spec.wyn.week05.class2;

public class Dog extends Banimal {
    public String kind;
    public static String name;
    public String find;
    public String getName() {
        return name;
    }
    public String getsuperName() {
        return super.name;
    }
    public void jiao(){

        System.out.println("我的叫声像狼");
    }
    public Dog() {

    }
    public Dog(String name,String sex, String age,String kind) {
        this.name=name;
        this.sex=sex;
        this.age=age;
        this.kind=kind;
    }
    public void find() {
        System.out.println("我的本能是寻回");
    }
    public static void main(String []args) {
        Dog jm=new Dog("金毛","女","12","金毛");
        String n=jm.getName();
        System.out.println(n);
        jm.born();
        jm.breed();
        jm.eat();
        jm.find();
    }
}
